import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const list: AppRouteModule = {
  path: '/list',
  name: 'List',
  component: LAYOUT,
  redirect: '/list/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'ion:settings-outline',
    title: t('routes.dashboard.list'),
    orderNo: 100000,
  },
  children: [
    {
      path: 'index',
      name: 'listPage',
      component: () => import('/@/views/list/index.vue'),
      meta: {
        title: t('routes.dashboard.list'),
        icon: 'simple-icons:about-dot-me',
        hideMenu: true,
      },
    },
    // {
    //   path: 'list2',
    //   name: 'listPage2',
    //   component: () => import('/@/views/list/index.vue'),
    //   meta: {
    //     title: t('routes.dashboard.list2'),
    //     icon: 'simple-icons:about-dot-me',
    //     hideMenu: true,
    //   },
    // },
  ],
};

export default list;
